//
//  ABProfileViewController.swift
//  microblog
//
//  Created by 安波 on 15/10/26.
//  Copyright © 2015年 anbo. All rights reserved.
//

import UIKit

class ABProfileViewController: ABBaseTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        prepareUI()
    }
    
    // MARK: 准备UI
    private func prepareUI(){
        
        setupNavgationBar()
    }
    
    // 设置导航栏
    private func setupNavgationBar(){
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "设置", style: UIBarButtonItemStyle.Plain, target: self, action: "settingButtonClick")
        
    }
    
    
    // MARK: - 事件响应
    func settingButtonClick(){
        print(__FUNCTION__)
        
        let settingVc = ABSettingViewController()
        navigationController?.pushViewController(settingVc, animated: true)
        
        
    }
    
}
